/*
 * @Author: 胡晓星
 * @Date: 2024-08-09 10:50:04
 * @LastEditors: 491256909@qq.com
 * @LastEditTime: 2025-08-14 11:05:57
 * @FilePath: \mock\pointsData.ts
 * @Description: 
 */
const getGroupPhoto = (id) => {
  return new URL(`/public/images/team/group_photo${id}.jpg`, import.meta.url).href;
}
console.log("getGroupPhoto",getGroupPhoto(6))
export const pointsData  = {
  groupA:[
    {
    id: 1,
    name: "中聚科兴",
    win: 0,//胜场
    fail: 3,//负场
    points: 0,//积分
    netWin: -43,//净胜分
    groupPhoto: getGroupPhoto(1),
    playerList: []
  },{
    id: 2,
    name: "狂飙台球",
    win: 3,//胜场
    fail: 0,//负场
    points: 0,//积分
    netWin: 33,//净胜分
    groupPhoto: getGroupPhoto(2),
    playerList: []
  },{
    id: 3,
    name: "水沫兰庭",
    win: 1,//胜场
    fail: 2,//负场
    points: 0,//积分
    netWin: 8,//净胜分
    groupPhoto: getGroupPhoto(3),
    playerList: []
  },{
    id: 4,
    name: "李记烧烤城",
    win: 2,//胜场
    fail: 1,//负场
    points: 0,//积分
    netWin: 2,//净胜分
    groupPhoto: getGroupPhoto(4),
    playerList: []
  }
  ],
  groupB: [
  {
    id: 5,
    name: "国泰君安",
    win: 1,//胜场
    fail: 2,//负场
    points: 0,//积分
    netWin: -27,//净胜分
    groupPhoto: getGroupPhoto(5),
    playerList: []
  },{
    id: 6,
    name: "卫生服务站",
    win: 0,//胜场
    fail: 3,//负场
    points: 0,//积分
    netWin: -39,//净胜分
    groupPhoto:getGroupPhoto(6),
    playerList: []
  },{
    id: 7,
    name: "荣万家物业",
    win: 2,//胜场
    fail: 1,//负场
    points: 0,//积分
    netWin: 27,//净胜分
    groupPhoto: getGroupPhoto(7),
    playerList: []
  },{
    id: 8,
    name: "九妹门业",
    win: 3,//胜场
    fail: 0,//负场
    points: 0,//积分
    netWin: 39,//净胜分
    groupPhoto: getGroupPhoto(8),
    playerList: []
  }
]
}